package the.formula.calculator;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class FluidMehanics extends Activity{

	@Override
	public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.fluid_mechanics_activity);
    }
	
	public void onClick(View v) {
		Intent i = null;
		switch(v.getId()) {
			case R.id.density:
				i = new Intent(this, Density.class);
				break;
			case R.id.buoyantForce:
				i = new Intent(this, BuoyantForce.class);
				break;
			case R.id.continuity:
				i = new Intent(this, Continuity.class);
				break;
			case R.id.pressure:
				i = new Intent(this, Pressure.class);
				break;
			case R.id.pressureDepth:
				i = new Intent(this, PressureDepth.class);
				break;
		}
		if(i != null) {
			startActivity(i);
		}
	}
}
